﻿using Model.Enum;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WPay.Domain.Model.Entities
{
    public class WorkflowMo
    {

        [Key, Column(Order = 0)]
        public string ID { get; set; }
        /// <summary>
        /// 企业编号
        /// </summary>
        public string CpnId { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string PayType { get; set; }
        /// <summary>
        /// 支付通道
        /// </summary>
        public string PayChannel { get; set; }
        /// <summary>
        ///账户
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 工作状态
        /// </summary>
        public Enum_WorkState WorkState { get; set; }
        /// <summary>
        /// 工作类型
        /// </summary>
        public Enum_WorkType WorkType { get; set; }

        public DateTime BusinessDt { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? CompleteTime { get; set; }

       

    }
}
